const http = require('http');
const url = require('url');
// const queryString = 

http.createServer((req, res) => {
  console.log(req.url);

  let { pathname, query } = url.parse(req.url, true);
  console.log(pathname, query);

}).listen(5677)